CFLAGS=-g -DLOG_STDOUT
INCLUDE= -I ../../includes
LIB= -L ../../src/ -lfs
OBJ= ../../src/read.o ../../src/inode.o ../../src/cache.o ../../src/sem_utils.o
CC= g++
CASOS= ct_read_5 ct_read_4 ct_read_3 ct_read_2 ct_read_1

all: $(CASOS)

ct_read_1: ct_read_1.c
	$(CC) $^ $(OBJ) -o $@ $(CFLAGS) $(INCLUDE) 
	
ct_read_2: ct_read_2.c
	$(CC) $^ $(OBJ) -o $@ $(CFLAGS) $(INCLUDE) 

ct_read_3: ct_read_3.c
	$(CC) $^ $(OBJ) -o $@ $(CFLAGS) $(INCLUDE) 

ct_read_4: ct_read_4.c
	$(CC) $^ $(OBJ) -o $@ $(CFLAGS) $(INCLUDE) 

ct_read_5: ct_read_5.c
	$(CC) $^ $(OBJ) -o $@ $(CFLAGS) $(INCLUDE)
	
ut_cache_blocos: ut_cache_blocos.c
	$(CC) $^ $(OBJ) -o $@ $(CFLAGS) $(INCLUDE)  
	
clear: 
	rm $(CASOS)